<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<jsp:useBean id="ccConfig" scope="application" type="net.chowda.castcluster.util.CastClusterConfig"/>

<html>
	<head>
		<title><decorator:title default="castcluster"/></title>
		<script type="text/javascript" src="<c:url value="/js/jquery.js"/>"></script>

		<script type="text/javascript">
			var contextPath = '<c:url value="/"/>';
		</script>

		<link href="<c:url value="/css/base.css"/>" rel="stylesheet" type="text/css">
		<decorator:head/>
	</head>
	<body id="castclusterbody" onload="<decorator:getProperty property="body.onload"/>">
		<table cellpadding="0" cellspacing="0" width="100%">
			<tr>
				<td valign="top" align="center">
                    [<a href="<c:url value="/PlayList.action"/>">home</a>]
                    [<a href="<c:url value="/Config.action"/>">config</a>]
                    [<a href='javascript:(function(){var i = document.getElementById("injected"); if(i != null){i.parentNode.removeChild(i);} var s=document.createElement("script"); s.id="injected"; s.src="${ccConfig.globalProperties.baseUrl}/js/castcluster_ia.jsp"; document.body.appendChild(s);})();'>CastCluster bookmarklet</a>]
                    [<a href="<c:url value="/about.jsp"/>">about</a>]
                </td>
			</tr>
		</table>
		<br/>
		<decorator:body/>
	</body>
</html>
